package com.ssy.lingxi.message.enums;

/**
 * 信息类型枚举
 *
 * @author yzc
 * @version 2.0.0
 * @date 2020/7/10
 */
public enum MessageTypeEnum {

    /**
     * 系统消息 - 1
     */
    SYSTEM(1, "系统消息"),

    /**
     * 平台消息 - 2
     */
    PLATFORM(2, "平台消息");

    private Integer code;
    private String message;

    MessageTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
